<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="shortcut icon" href="../static/images/local/校标.jpg" />
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>
    <link rel="stylesheet" href="../static/layui/css/layui.css">
    <script src="../static/layui/layui.js" ></script>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>退出登录</title>
</head>
<body>
<script>
         const suffix=localStorage.getItem("suffix");
         const prefix=localStorage.getItem("prefix");
        layer.confirm('确定要退出吗？',function (index) {
            sessionStorage.clear();
            layer.close(index);
            window.parent.location.href=prefix+"/logIn"+suffix;
        })
</script>
</body>
</html>